// src/api/device/trend.js
import request from '@/utils/request'

// 查询设备数据趋势
export function trendData(params) {
  return request({
    url: '/device/device/dataTrendData',
    method: 'get',
    params: params
  })
}

// 获取设备列表
export function deviceList() {
  return request({
    url: '/device/device/list',
    method: 'get'
  })
}

// 获取测点列表
export function pointList(query) {
  return request({
    url: '/device/point/list',
    method: 'get',
    params: query
  })
}